package com.ky.gp.app.service;

import com.ky.common.vo.R;
import com.ky.gp.app.config.OpenFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * --- 天道酬勤 ---
 *
 * @author 1379
 * @date 2024/6/18
 * @desc -- 代码敲烂 月薪过万--
 */
@FeignClient(value = "gp-course-server",configuration = OpenFeignConfig.class)
public interface MaterialFeign {
    @RequestMapping("/course/material/courseRefmaterial")
    R getCourseRefmaterial(@RequestParam("courseId") Integer courseId);

}
